package com.doge.service.admin.goods;

import com.doge.bean.base.BaseData;
import com.doge.bean.base.BaseParam;
import com.doge.bean.bo.goods.CreateGoodsBO;
import com.doge.bean.bo.goods.UpdateGoodsBO;
import com.doge.bean.pojo.goods.Goods;
import com.doge.bean.vo.goods.CatAndBrandVO;
import com.doge.bean.vo.goods.GoodsDetailVO;
import com.doge.exception.Delete502Exception;

public interface GoodsService {
    BaseData list(BaseParam baseParam,String goodsSn,String name,Integer goodsId);

    CatAndBrandVO catAndBrand();

    void crateGoods(CreateGoodsBO createGoodsBO);

    void deleteGoods(Goods goods) throws Delete502Exception;

    GoodsDetailVO selectDetailByGoodsId(Integer goodsId);

    void update(UpdateGoodsBO updateGoodsBO);

}
